<template>
  <el-row type="flex" justify="space-around">
    <el-col :span="4">{{ industry.industryname }}</el-col>
    <el-col :span="2">{{ industry.id }}</el-col>
    <el-col :span="6">
      <el-button type="primary" onclick="showDialog=true">编辑</el-button>
      <el-button type="danger" onclick>删除</el-button>
    </el-col>
  </el-row>
</template>

<script>
// import { getIndustry } from "@/api/trade";
export default {
  components: {},
  props: {
    industry: {
      type: Object,
      required: true
    },
    showDialog: {
      type: Boolean
    }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {
    // this.getIndustry()
  },
  mounted() {},
  methods: {
    // async getIndustry() {
    //   const data = await getIndustry()
    //   console.log(data)
    // }
  }
}
</script>
<style scoped></style>
